<?php $this->load->view('layout/header'); ?>
<script language="javascript" type="text/javascript" src="/static/bk/datepicker/WdatePicker.js"></script>
<div id="container">
<!--查询表单开始-->
<div id="DivQuery">
    <div id="floatBoxBg" style="filter: alpha(opacity=0); opacity: 0;">
    </div>
    <div id="floatBox" class="floatBox">
        <div id="drag" class="title" onmousedown="DragDialog()">
            <h4>
                查询</h4>
            <span>关闭</span></div>
        <div class="content">
            <form action="<?php echo site_url('user/userlog');?>" method="post">
                <table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_query">
                    <tr class="table_query_row">
                        <td style="width: 15%" align="right">
                            日志内容：
                        </td>
                        <td>
                            <input type="text" name="logcontent">
                        </td>
                        <td style="width: 15%" align="right">
                            发生文件：
                        </td>
                        <td>
                            <input type="text" name="scriptfile">
                        </td>
                    </tr>
                    <tr class="table_query_row">
                        <td style="width: 15%" align="right">
                            IP地址：
                        </td>
                        <td>
                            <input type="text" name="ipaddress">
                        </td>
                        <td style="width: 15%" align="right">
                            会员姓名：
                        </td>
                        <td>
                            <input type="text" name="username">
                        </td>
                    </tr>
                    <tr class="table_query_btn">
                        <td align="right" style="width: 15%"></td>
                        <td colspan="3">
                            <input type="submit" value="查询" onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(&quot;btnQuery&quot;, &quot;&quot;, false, &quot;&quot;, &quot;Config.aspx&quot;, false, false))" id="btnQuery" />
                            <input type="button" value="返回" onclick="javascript:HiddenSearchDialog();" />
                        </td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
</div>
<!--查询表单结束-->
<!--导航开始-->
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_nav">
    <tr>
        <td>
            会员管理&gt;会员日志
        </td>
    </tr>
</table>
<!--导航结束-->
<!--操作选项开始-->
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_op">
    <tr>
        <td>
            操作选项：
            <a onclick="javascript:return checkDel(this);" name="userlogid" href="javascript:;" src="<?php echo site_url('user/delete_info/userlog/userlogid/userlog').'/';?>">删除会员日志</a>
            <?php if($filter == 0){ ?>
                <a href="javascript:SearchDialog()">查询会员日志</a>
            <?php }else{ ?>
                <a href="<?php echo site_url('user/userlog')?>">撤销查询</a>
            <?php } ?>
        </td>
    </tr>
</table>
<!--操作选项结束-->
<!--列表开始-->
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_list" id="TbList">
    <tr class="table_list_title">
        <td style="width: 2%">
            <input type="checkbox" name="checkbox" value="checkbox" onclick="javascript:checkAll(this,'userlogid')" />
        </td>
        <td style="width: 5%" onclick="javascript:GoTo('?OrderKey=ConfigID&AscDesc=desc&txtWebsiteName=&radIsClose=-1&page=1')" title="点击排序">
            编号
        </td>
        <td style="width: 10%" onclick="javascript:GoTo('?OrderKey=LanguageVer&AscDesc=desc&txtWebsiteName=&radIsClose=-1&page=1')" title="点击排序">
            日志内容
        </td>
        <td style="width: 10%" onclick="javascript:GoTo('?OrderKey=WebsiteName&AscDesc=desc&txtWebsiteName=&radIsClose=-1&page=1')" title="点击排序">
            发生文件
        </td>
        <td style="width: 10%" onclick="javascript:GoTo('?OrderKey=ListID&AscDesc=desc&txtWebsiteName=&radIsClose=-1&page=1')" title="点击排序">
            ip地址
        </td>
        <td style="width: 8%" onclick="javascript:GoTo('?OrderKey=AdminID&AscDesc=desc&txtWebsiteName=&radIsClose=-1&page=1')" title="点击排序">
            操作人
        </td>
        <td style="width: 10%" onclick="javascript:GoTo('?OrderKey=AddTime&AscDesc=desc&txtWebsiteName=&radIsClose=-1&page=1')" title="点击排序">
            操作时间
        </td>
    </tr>
    <?php foreach($list as $key=>$val) : ?>
        <tr class="table_list_row_normal">
            <td style="width: 2%">
                <input name="userlogid" type="checkbox" id="userlogid" value="<?php echo $val['userlogid'];?>"  />
            </td>
            <td style="width: 5%" >
                <?php echo $val['userlogid']?>
            </td>
            <td style="width: 10%" >
                 <?php echo $val['logcontent']?>
            </td>
            <td style="width: 10%" >
                <?php echo $val['scriptfile']?>
            </td>
            <td style="width: 10%" >
                <?php echo $val['ipaddress']?>
            </td>
            <td style="width: 8%" >
                <?php echo $val['username']?>
            </td>
            <td style="width: 10%" >
                <?php echo $val['addtime']?>
            </td>
        </tr>
    <?php endforeach; ?>
</table>
<?php $pagination->show();?>
<script src="/static/bk/js/table.js" type="text/javascript"></script>
<?php $this->load->view('layout/footer'); ?>

